#$ ftpstat (ftpstatistics) version 3(b) by jason stiefel <krypto@zianet.com>
#$ copyright transmit liberation productions[tm] -(c)1996- liberation.org
#$ usage- (run the ftpstat script, i.e. #~ sh ftpstat)

purpose]
	 ftpstat is a utility that will keep track of your ftp site's
statistics, as well as letting you anonymous user's know how popular your
site is ;)

installation]
	simply run the install.sh script supplied with the package (if
it's not there, mail me at krypto@zianet.com, and i'll send you one) or,
if you want to do it manually-
		cp ftpstat /usr/local/sbin/ftpstat
		cp adder /usr/bin/adder
		cp welcome.stat /home/ftp/welcome.stat
		add '15,30,45,0 * * * /usr/local/sbin/ftpstat' to your
		crontab
and that should be all you need to do.

tag_characters]
	the ftpstat script recognizes 5 tag characters, they are:
		%%l - a count of ftp logins
		%%f - total files served through ftp
		%%s - tally of the size of files served
		%%a - average size of files served
		%%t - last update by ftpstat  # this feature will be fixed.
these tags can be anywhere in the welcome.stat file (or whatever filename
you choose to be processed) remember, if these are all in one line, the
line will of course be longer than 71 charatcers, thus forcing ftpd to
wrap the line, and taking away the asthetic value of an ftp site.


files]
	adder         - a utility to speed up size tally
	adder.c       - the source to the adder executable
	ftpstat       - the ftpstat script executable
	installation@ - a link to readme (for idiots)
	install.sh    - the ftpstat installation script
	readme	      - you are reading it
	welcome.stat  - a sample of an unprocessed welcome.msg

credits]
	thanks to tymat <tymat@mayhem.erols.com> for the adder.c code
	thanks to mdowell <mdowell@zianet.com> for some more help with c
	thanks to all my anonymous ftp users, for beta testing this for me

notes]
	right now, the %%t feature will not work. i don't know why, but
it'll be fixed in the next version. 
	you can always get the latest version of ftpstat at
ftp.liberation.org/pub/ftpstat/ftpstat.tar.gz. this is available through
anonymous ftp, or http://www.liberation.org/software/ftpstat.tar.gz.

todo]
	completely re-write the script in c, making it even _faster_!

#$ copyright transmit liberation productions[tm] -(c)1996-
#$ send all comments, suggestions, and bugs to krypto@zianet.com
